package hcn.protocol.registration.xml.req;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @Author: lanyu
 * @Description:
 * @Date: create in 2023/3/3 16:35
 */
@XmlRootElement(name = "MsgBody")
@XmlAccessorType(XmlAccessType.FIELD)
public class UpdateCheckInfoXmlRequest {

    private Patient patient;
    private Visit visit;
    private ExamStatusInfo examStatusInfo;

    public Patient getPatient() {
        return patient;
    }

    public void setPatient(Patient patient) {
        this.patient = patient;
    }

    public Visit getVisit() {
        return visit;
    }

    public void setVisit(Visit visit) {
        this.visit = visit;
    }

    public ExamStatusInfo getExamStatusInfo() {
        return examStatusInfo;
    }

    public void setExamStatusInfo(ExamStatusInfo examStatusInfo) {
        this.examStatusInfo = examStatusInfo;
    }

    @XmlRootElement(name = "Patient")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Patient {
        private String SourcePatientId;
        private String Name;
        private String DomainId;

        public String getSourcePatientId() {
            return SourcePatientId;
        }

        public void setSourcePatientId(String sourcePatientId) {
            SourcePatientId = sourcePatientId;
        }

        public String getDomainId() {
            return DomainId;
        }

        public void setDomainId(String domainId) {
            DomainId = domainId;
        }

        public String getName() {
            return Name;
        }

        public void setName(String name) {
            Name = name;
        }
    }

    @XmlRootElement(name = "Visit")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Visit {
        private String VisitId;
        private String VisitTimes;

        public String getVisitId() {
            return VisitId;
        }

        public void setVisitId(String visitId) {
            VisitId = visitId;
        }

        public String getVisitTimes() {
            return VisitTimes;
        }

        public void setVisitTimes(String visitTimes) {
            VisitTimes = visitTimes;
        }
    }

    @XmlRootElement(name = "ExamStatusInfo")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class ExamStatusInfo {
        private String RequestId;
        private String VisitOrganization;
        private ItemList itemList;

        public String getRequestId() {
            return RequestId;
        }

        public void setRequestId(String requestId) {
            RequestId = requestId;
        }

        public String getVisitOrganization() {
            return VisitOrganization;
        }

        public void setVisitOrganization(String visitOrganization) {
            VisitOrganization = visitOrganization;
        }

        public ItemList getItemList() {
            return itemList;
        }

        public void setItemList(ItemList itemList) {
            this.itemList = itemList;
        }

        @XmlRootElement(name = "ItemList")
        @XmlAccessorType(XmlAccessType.FIELD)
        public static class ItemList {
            private String ItemCode;
            private String ExamStatusCode;
            private String InvoiceNo;
            private String ItemCost;

            public String getItemCode() {
                return ItemCode;
            }

            public void setItemCode(String itemCode) {
                ItemCode = itemCode;
            }

            public String getExamStatusCode() {
                return ExamStatusCode;
            }

            public void setExamStatusCode(String examStatusCode) {
                ExamStatusCode = examStatusCode;
            }

            public String getInvoiceNo() {
                return InvoiceNo;
            }

            public void setInvoiceNo(String invoiceNo) {
                InvoiceNo = invoiceNo;
            }

            public String getItemCost() {
                return ItemCost;
            }

            public void setItemCost(String itemCost) {
                ItemCost = itemCost;
            }
        }
    }

}
